package tv.acgn.advertisement.publish.service;

import org.springframework.stereotype.Service;
import tv.acgn.advertisement.publish.exception.AbstractAdPubException;
import tv.acgn.advertisement.publish.po.AdUserPO;
import tv.acgn.advertisement.publish.vo.user.AdUserRequestVO;
import tv.acgn.advertisement.publish.vo.user.AdUserResponseVO;

/**
 * @program: advertisement-ad-pub-service
 * @description: 用户 业务接口
 * @author: junG
 * @create: 2019-05-02 01:18
 **/

@Service
public interface AdUserService {

    /**
     * <h2>获取用户信息</h2>
     *
     * @param userId [1]
     *
     * @return {@link AdUserPO}
     *
     * @throws AbstractAdPubException 异常
     * @author junG
     * @description 获取用户信息
     * @date 23:50 2019/5/25
     */
    AdUserPO getUser(String userId) throws AbstractAdPubException;

    /**
     * <h2>查找用户信息</h2>
     *
     * @param adUserRequestVO [1]
     *
     * @return {@link AdUserResponseVO}
     *
     * @throws AbstractAdPubException 异常
     * @author junG
     * @description 查找用户信息
     * @date 23:53 2019/5/25
     */
    AdUserResponseVO findUser(AdUserRequestVO adUserRequestVO) throws AbstractAdPubException;



}
